@extends('backend::layout')
@section('title',trans($page_title))
@section('content')
    @component('backend::component.form.form')
        @slot('page_title') {{$page_title}} @endslot
        @slot('formId') edit-price @endslot
        @slot('action') {{route('b_ShopGoods_updatePrice',['id'=>$goods->goods_id])}} @endslot
        @component('backend::component.form.form-group')
            @slot('title') 商品售价 @endslot
            @component('backend::component.form.input')
                @slot('name') price @endslot
                @slot('value') {{$goods->price}} @endslot
            @endcomponent
            @slot('remark') {{get_currency()['money3']}} 或 {{get_currency()['money2']}} @endslot
        @endcomponent

        {{--@component('backend::component.form.form-group')--}}
            {{--@slot('title') {{get_currency()['money2']}} @endslot--}}
            {{--@component('backend::component.form.input')--}}
                {{--@slot('name') agent_price @endslot--}}
                {{--@slot('value') {{$goods->agent_price}} @endslot--}}
            {{--@endcomponent--}}
        {{--@endcomponent--}}

{{--        @component('backend::component.form.form-group')
            @slot('title') 奖励{{get_currency()['money1']}} @endslot
            @component('backend::component.form.input')
                @slot('name') award_xj @endslot
                @slot('value') {{$goods->award_xj}} @endslot
            @endcomponent
        @endcomponent
        @component('backend::component.form.form-group')
            @slot('title') 奖励{{get_currency()['money2']}} @endslot
            @component('backend::component.form.input')
                @slot('name') award_gw @endslot
                @slot('value') {{$goods->award_gw}} @endslot
            @endcomponent
        @endcomponent
        @component('backend::component.form.form-group')
            @slot('title') 奖励{{get_currency()['money3']}} @endslot
            @component('backend::component.form.input')
                @slot('name') award_xf @endslot
                @slot('value') {{$goods->award_xf}} @endslot
            @endcomponent
        @endcomponent--}}


        @slot('buttons')
            @component('backend::component.form.button')
                @slot('title') 修改 @endslot
                @slot('size') sm @endslot
                @slot('params') {"formId":"#edit-price"} @endslot
                @slot('class') btn-min-width ajax-form @endslot
            @endcomponent
        @endslot
    @endcomponent
@endsection